toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  return {
    'code': code,
    'name': name,
    'nativeName': nativeName,
    'url': url,
  };
}