decode static method

Property decode(
  1. Object message
)

Implementation

static Property decode(Object message) {
  final Map<Object?, Object?> pigeonMap = message as Map<Object?, Object?>;
  return Property()
    ..id = pigeonMap['id'] as int?
    ..type = pigeonMap['type'] as int?
    ..stringValue = pigeonMap['stringValue'] as String?
    ..longValue = pigeonMap['longValue'] as int?
    ..arrayValue = pigeonMap['arrayValue'] as List<Object?>?
    ..byteValue = pigeonMap['byteValue'] as int?
    ..dataSourceValue = pigeonMap['dataSourceValue'] != null
        ? DataSourceIos.decode(pigeonMap['dataSourceValue']!)
        : null
    ..versionValue = pigeonMap['versionValue'] != null
        ? Version.decode(pigeonMap['versionValue']!)
        : null;
}