ReadOnly.fromJson constructor
ReadOnly.fromJson(
- Map json_
Implementation
ReadOnly.fromJson(core.Map json_)
: this(
exactStaleness: json_.containsKey('exactStaleness')
? json_['exactStaleness'] as core.String
: null,
maxStaleness: json_.containsKey('maxStaleness')
? json_['maxStaleness'] as core.String
: null,
minReadTimestamp: json_.containsKey('minReadTimestamp')
? json_['minReadTimestamp'] as core.String
: null,
readTimestamp: json_.containsKey('readTimestamp')
? json_['readTimestamp'] as core.String
: null,
returnReadTimestamp: json_.containsKey('returnReadTimestamp')
? json_['returnReadTimestamp'] as core.bool
: null,
strong:
json_.containsKey('strong') ? json_['strong'] as core.bool : null,
);