type property Null safety
@JsonKey(name: 'report_type', fromJson: reportTypeFromJson, toJson: reportTypeToJson), read / write
리포트 타입은 센서탈거 등의 타입들이 있습니다. 확인필요 화면의 카드에서 리포트타입에 따라 다른 UI를 렌더링합니다. 필요에따라 타입을 추가하고 서버에서 카드 발행할때도 추가된 리포트타입을 주어 대응하면 됩니다.
Implementation
@JsonKey(name: 'report_type', fromJson: reportTypeFromJson, toJson: reportTypeToJson)
ReportType type;