Sample.fromJson constructor

Sample.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory Sample.fromJson(Map<String, dynamic> json) {
  return Sample(
  sampleId : json['sampleId'],
  sampleName : json['sampleName']);
}