toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = Map<String, dynamic>.from(_data);
  json[kTypeKey] = type;
  json[kInlineKey] = inline;
  return json;
}