Type.fromJson constructor

Type.fromJson(
  1. Map json_
)

Implementation

Type.fromJson(core.Map json_)
    : this(
        aggregateType: json_.containsKey('aggregateType')
            ? GoogleBigtableAdminV2TypeAggregate.fromJson(
                json_['aggregateType'] as core.Map<core.String, core.dynamic>)
            : null,
        bytesType: json_.containsKey('bytesType')
            ? GoogleBigtableAdminV2TypeBytes.fromJson(
                json_['bytesType'] as core.Map<core.String, core.dynamic>)
            : null,
        int64Type: json_.containsKey('int64Type')
            ? GoogleBigtableAdminV2TypeInt64.fromJson(
                json_['int64Type'] as core.Map<core.String, core.dynamic>)
            : null,
      );