SnapshotDefinition.fromJson constructor

SnapshotDefinition.fromJson(
  1. Map json_
)

Implementation

SnapshotDefinition.fromJson(core.Map json_)
    : this(
        baseTableReference: json_.containsKey('baseTableReference')
            ? TableReference.fromJson(json_['baseTableReference']
                as core.Map<core.String, core.dynamic>)
            : null,
        snapshotTime: json_.containsKey('snapshotTime')
            ? core.DateTime.parse(json_['snapshotTime'] as core.String)
            : null,
      );