toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final encryption = this.encryption;
  final key = this.key;
  final label = this.label;
  final language = this.language;
  final timeOffset = this.timeOffset;
  return {
    if (encryption != null) 'Encryption': encryption,
    if (key != null) 'Key': key,
    if (label != null) 'Label': label,
    if (language != null) 'Language': language,
    if (timeOffset != null) 'TimeOffset': timeOffset,
  };
}