toJson method Null safety

  1. @override
Map<String, dynamic> toJson(
  1. {bool full = false,
  2. bool forApiRQ = false,
  3. bool allowCustomObjectId = false}
)
override

Converts object to String in JSON format

Implementation

@override
Map<String, dynamic> toJson({
  bool full = false,
  bool forApiRQ = false,
  bool allowCustomObjectId = false,
}) =>
    <String, String?>{'__type': keyFile, 'name': name, 'url': url};