toJson method

Map<String, dynamic> toJson ()

Implementation

Map<String, dynamic> toJson() {
  var result = json == null ? <String, dynamic>{} : Map.of(json);
  result['type'] = 'TimelineEvent';
  return result;
}