Last active
May 15, 2019 00:41
-
-
Save truongsinh/6ff96a155579bfb203b916c93d450a54 to your computer and use it in GitHub Desktop.
Flutter Platform Channels with Protobuf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Dart, | Android | iOS | |
---|---|---|---|
null | null | nil (NSNull when nested) | |
bool | java.lang.Boolean | NSNumber numberWithBool: | |
int | java.lang.Integer | NSNumber numberWithInt: | |
int, if 32 bits not enough | java.lang.Long | NSNumber numberWithLong: | |
double | java.lang.Double | NSNumber numberWithDouble: | |
String | java.lang.String | NSString | |
Uint8List | byte[] | FlutterStandardTypedData typedDataWithBytes: | |
Int32List | int[] | FlutterStandardTypedData typedDataWithInt32: | |
Int64List | long[] | FlutterStandardTypedData typedDataWithInt64: | |
Float64List | double[] | FlutterStandardTypedData typedDataWithFloat64: | |
List | java.util.ArrayList | NSArray | |
Map | java.util.HashMap | NSDictionary |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment