Commit 58a11f01 authored by Ian Hickson's avatar Ian Hickson Committed by GitHub

Fix a few more dartdoc errors (#9907)

Turns out that `[]:` means something in markdown, so you have to
escape the `:` with a backslash.
parent f4f68dff
...@@ -181,34 +181,34 @@ class JSONMethodCodec implements MethodCodec { ...@@ -181,34 +181,34 @@ class JSONMethodCodec implements MethodCodec {
/// On Android, messages are represented as follows: /// On Android, messages are represented as follows:
/// ///
/// * null: null /// * null: null
/// * [bool]: `java.lang.Boolean` /// * [bool]\: `java.lang.Boolean`
/// * [int]: `java.lang.Integer` for values that are representable using 32-bit /// * [int]\: `java.lang.Integer` for values that are representable using 32-bit
/// two's complement; otherwise, `java.lang.Long` for values that are /// two's complement; otherwise, `java.lang.Long` for values that are
/// representable using 64-bit two's complement; otherwise, /// representable using 64-bit two's complement; otherwise,
/// `java.math.BigInteger`. /// `java.math.BigInteger`.
/// * [double]: `java.lang.Double` /// * [double]\: `java.lang.Double`
/// * [String]: `java.lang.String` /// * [String]\: `java.lang.String`
/// * [Uint8List]: `byte[]` /// * [Uint8List]\: `byte[]`
/// * [Int32List]: `int[]` /// * [Int32List]\: `int[]`
/// * [Int64List]: `long[]` /// * [Int64List]\: `long[]`
/// * [Float64List]: `double[]` /// * [Float64List]\: `double[]`
/// * [List]: `java.util.ArrayList` /// * [List]\: `java.util.ArrayList`
/// * [Map]: `java.util.HashMap` /// * [Map]\: `java.util.HashMap`
/// ///
/// On iOS, messages are represented as follows: /// On iOS, messages are represented as follows:
/// ///
/// * null: nil /// * null: nil
/// * [bool]: `NSNumber numberWithBool:` /// * [bool]\: `NSNumber numberWithBool:`
/// * [int]: `NSNumber numberWithInt:` for values that are representable using /// * [int]\: `NSNumber numberWithInt:` for values that are representable using
/// 32-bit two's complement; otherwise, `NSNumber numberWithLong:` for values /// 32-bit two's complement; otherwise, `NSNumber numberWithLong:` for values
/// that are representable using 64-bit two's complement; otherwise, /// that are representable using 64-bit two's complement; otherwise,
/// `FlutterStandardBigInteger`. /// `FlutterStandardBigInteger`.
/// * [double]: `NSNumber numberWithDouble:` /// * [double]\: `NSNumber numberWithDouble:`
/// * [String]: `NSString` /// * [String]\: `NSString`
/// * [Uint8List], [Int32List], [Int64List], [Float64List]: /// * [Uint8List], [Int32List], [Int64List], [Float64List]\:
/// `FlutterStandardTypedData` /// `FlutterStandardTypedData`
/// * [List]: `NSArray` /// * [List]\: `NSArray`
/// * [Map]: `NSDictionary` /// * [Map]\: `NSDictionary`
class StandardMessageCodec implements MessageCodec<dynamic> { class StandardMessageCodec implements MessageCodec<dynamic> {
// The codec serializes messages as outlined below. This format must // The codec serializes messages as outlined below. This format must
// match the Android and iOS counterparts. // match the Android and iOS counterparts.
......
...@@ -294,7 +294,7 @@ class FadeTransition extends AnimatedWidget { ...@@ -294,7 +294,7 @@ class FadeTransition extends AnimatedWidget {
/// An interpolation between two relative rects. /// An interpolation between two relative rects.
/// ///
/// This class specializes the interpolation of [Tween<RelativeRect>] to /// This class specializes the interpolation of [Tween<RelativeRect>] to
/// use [RelativeRect.tween]. /// use [RelativeRect.lerp].
/// ///
/// See [Tween] for a discussion on how to use interpolation objects. /// See [Tween] for a discussion on how to use interpolation objects.
class RelativeRectTween extends Tween<RelativeRect> { class RelativeRectTween extends Tween<RelativeRect> {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment