ServiceField.fromJson constructor

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

Implementation

factory ServiceField.fromJson(Map<String, dynamic> json) {
  return ServiceField(
    required: json['required'],
    example: json['example'],
    name: json['name'],
    description: json['description'],
  );
}