toJson method
Implementation
Map<String, Object?> toJson() {
var epochMillis = this.epochMillis;
var friendly = this.friendly;
var iso8601 = this.iso8601;
var jira = this.jira;
final json = <String, Object?>{};
if (epochMillis != null) {
json[r'epochMillis'] = epochMillis;
}
if (friendly != null) {
json[r'friendly'] = friendly;
}
if (iso8601 != null) {
json[r'iso8601'] = iso8601;
}
if (jira != null) {
json[r'jira'] = jira;
}
return json;
}