Modification.fromJson constructor

Modification.fromJson(
  1. Map json_
)

Implementation

Modification.fromJson(core.Map json_)
    : this(
        create: json_.containsKey('create')
            ? ColumnFamily.fromJson(
                json_['create'] as core.Map<core.String, core.dynamic>)
            : null,
        drop: json_.containsKey('drop') ? json_['drop'] as core.bool : null,
        id: json_.containsKey('id') ? json_['id'] as core.String : null,
        update: json_.containsKey('update')
            ? ColumnFamily.fromJson(
                json_['update'] as core.Map<core.String, core.dynamic>)
            : null,
        updateMask: json_.containsKey('updateMask')
            ? json_['updateMask'] as core.String
            : null,
      );