fromJSON static method

ReportVersion fromJSON(
  1. String data
)

Implementation

static ReportVersion fromJSON(String data) {
	switch (data) {
		case "V1_0_0":
			return ReportVersion.v1_0_0;
		default:
			throw ArgumentError('Invalid ReportVersion entry value $data');
		}
}