toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
    json[r'd'] = this.d.toUtc().toIso8601String();
    json[r't'] = this.t;
  if (this.da != null) {
    json[r'da'] = this.da;
  } else {
    json[r'da'] = null;
  }
  return json;
}