Field.fromJson constructor

Field.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory Field.fromJson(Map<String, dynamic> json) {
  return Field(
    arrayValue: json['arrayValue'] != null
        ? ArrayValue.fromJson(json['arrayValue'] as Map<String, dynamic>)
        : null,
    blobValue: _s.decodeNullableUint8List(json['blobValue'] as String?),
    booleanValue: json['booleanValue'] as bool?,
    doubleValue: json['doubleValue'] as double?,
    isNull: json['isNull'] as bool?,
    longValue: json['longValue'] as int?,
    stringValue: json['stringValue'] as String?,
  );
}