ForZone.fromJson constructor

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

Creates a ForZone from JSON data.

Implementation

factory ForZone.fromJson(Map<String, dynamic> json) {
  final tempNameJson = json['name'];

  final String tempName = tempNameJson;

  return ForZone(
    name: tempName,
  );
}