Commit d604791a authored by Ian Hickson's avatar Ian Hickson Committed by GitHub

Try indenting the lists more in case that fixes the problem. (#9752)

See https://github.com/flutter/flutter/issues/9726; for some reason
the markdown in this file is getting misinterpreted.
parent 8d7733fd
...@@ -53,12 +53,12 @@ class StringCodec implements MessageCodec<String> { ...@@ -53,12 +53,12 @@ class StringCodec implements MessageCodec<String> {
/// ///
/// Supported messages are acyclic values of these forms: /// Supported messages are acyclic values of these forms:
/// ///
/// * null /// * null
/// * [bool]s /// * [bool]s
/// * [num]s /// * [num]s
/// * [String]s /// * [String]s
/// * [List]s of supported values /// * [List]s of supported values
/// * [Map]s from strings to supported values /// * [Map]s from strings to supported values
/// ///
/// On Android, messages are decoded using the `org.json` library. /// On Android, messages are decoded using the `org.json` library.
/// On iOS, messages are decoded using the `NSJSONSerialization` library. /// On iOS, messages are decoded using the `NSJSONSerialization` library.
...@@ -170,45 +170,45 @@ class JSONMethodCodec implements MethodCodec { ...@@ -170,45 +170,45 @@ class JSONMethodCodec implements MethodCodec {
/// ///
/// Supported messages are acyclic values of these forms: /// Supported messages are acyclic values of these forms:
/// ///
/// * null /// * null
/// * [bool]s /// * [bool]s
/// * [num]s /// * [num]s
/// * [String]s /// * [String]s
/// * [Uint8List]s, [Int32List]s, [Int64List]s, [Float64List]s /// * [Uint8List]s, [Int32List]s, [Int64List]s, [Float64List]s
/// * [List]s of supported values /// * [List]s of supported values
/// * [Map]s from supported values to supported values /// * [Map]s from supported values to supported values
/// ///
/// 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.
......
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