toJson method

  1. @override
Map<String, dynamic> toJson()
override

Implementation

@override
Map<String, dynamic> toJson() => {
      "name": _name,
      "aliases": _aliases,
      "language": _language,
      "fields": _fields
    };