toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  return <String, dynamic>{
    if (signedAt != null) r'signedAt': signedAt!.toUtc().toIso8601String(),
    if (text != null) r'text': text,
  };
}