Converts the Region instance to a JSON map.
Map<String, dynamic> toJson() { return { 'code': code, 'name': name, }; }