ListenResponse.fromJson constructor
ListenResponse.fromJson(
- Map _json
Implementation
ListenResponse.fromJson(core.Map _json)
: this(
documentChange: _json.containsKey('documentChange')
? DocumentChange.fromJson(_json['documentChange']
as core.Map<core.String, core.dynamic>)
: null,
documentDelete: _json.containsKey('documentDelete')
? DocumentDelete.fromJson(_json['documentDelete']
as core.Map<core.String, core.dynamic>)
: null,
documentRemove: _json.containsKey('documentRemove')
? DocumentRemove.fromJson(_json['documentRemove']
as core.Map<core.String, core.dynamic>)
: null,
filter: _json.containsKey('filter')
? ExistenceFilter.fromJson(
_json['filter'] as core.Map<core.String, core.dynamic>)
: null,
targetChange: _json.containsKey('targetChange')
? TargetChange.fromJson(
_json['targetChange'] as core.Map<core.String, core.dynamic>)
: null,
);