toJson method

Map<String, Object?> toJson()

Implementation

Map<String, Object?> toJson() {
  final json = <String, dynamic>{};
  json[kType] = type;
  json.addAll({FileContent.kContent: content});
  return json;
}