BigtableColumnFamily.fromJson constructor

BigtableColumnFamily.fromJson(
  1. Map json_
)

Implementation

BigtableColumnFamily.fromJson(core.Map json_)
    : this(
        columns: json_.containsKey('columns')
            ? (json_['columns'] as core.List)
                .map((value) => BigtableColumn.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        encoding: json_.containsKey('encoding')
            ? json_['encoding'] as core.String
            : null,
        familyId: json_.containsKey('familyId')
            ? json_['familyId'] as core.String
            : null,
        onlyReadLatest: json_.containsKey('onlyReadLatest')
            ? json_['onlyReadLatest'] as core.bool
            : null,
        type: json_.containsKey('type') ? json_['type'] as core.String : null,
      );