toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final absoluteTime = this.absoluteTime;
  final id = this.id;
  final mostRecent = this.mostRecent;
  return {
    if (absoluteTime != null) 'AbsoluteTime': absoluteTime,
    if (id != null) 'Id': id,
    if (mostRecent != null) 'MostRecent': mostRecent,
  };
}