toJson method
Implementation
Map<String, dynamic> toJson() {
final val = <String, dynamic>{};
void writeNotNull(String key, dynamic value) {
value?.let((e) => val[key] = value);
}
writeNotNull('type', type);
writeNotNull('members', members);
writeNotNull('member', member);
writeNotNull('key', key);
writeNotNull('value', value);
writeNotNull('locationName', locationName);
writeNotNull('timestampFormat', timestampFormat);
writeNotNull('flattened', flattened);
return val;
}