GetCustomerInfoField.fromJson constructor

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

Implementation

factory GetCustomerInfoField.fromJson(Map<String, dynamic> json) =>
    new GetCustomerInfoField(
        json['type'] as String,
        json['description'] as String,
        json['choices'] == null
            ? null
            : new List<String>.from(json['choices']),
        json['optional'] as bool);