@@ -406,16 +406,16 @@ enum _RawSocketOptions {
406406 IPPROTO_UDP , // 6
407407}
408408
409- /// The [RawSocketOption] is used as a parameter to [Socket.setRawOption] and
410- /// [RawSocket.setRawOption] to set customize the behaviour of the underlying
411- /// socket.
409+ /// The [RawSocketOption] is used as a parameter to [Socket.setRawOption] ,
410+ /// [RawSocket.setRawOption] , and [RawDatagramSocket.setRawOption] to customize
411+ /// the behaviour of the underlying socket.
412412///
413- /// It allows for fine grained control of the socket options, and its values will
414- /// be passed to the underlying platform's implementation of setsockopt and
415- /// getsockopt.
413+ /// It allows for fine grained control of the socket options, and its values
414+ /// will be passed to the underlying platform's implementation of ` setsockopt`
415+ /// and ` getsockopt` .
416416@Since ("2.2" )
417417class RawSocketOption {
418- /// Creates a RawSocketOption for getRawOption andSetRawOption .
418+ /// Creates a [ RawSocketOption] for ` getRawOption` and `setRawOption` .
419419 ///
420420 /// All arguments are required and must not be null.
421421 ///
@@ -425,10 +425,10 @@ class RawSocketOption {
425425 /// The value argument and its length correspond to the optval and length
426426 /// arguments on the native call.
427427 ///
428- /// For a [ getRawOption] call, the value parameter will be updated after a
428+ /// For a ` getRawOption` call, the value parameter will be updated after a
429429 /// successful call (although its length will not be changed).
430430 ///
431- /// For a [ setRawOption] call, the value parameter will be used set the
431+ /// For a ` setRawOption` call, the value parameter will be used set the
432432 /// option.
433433 const RawSocketOption (this .level, this .option, this .value);
434434
0 commit comments