toJson method

Map<String, dynamic> toJson()

Implementation

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