CommonValidation.fromMap constructor

CommonValidation.fromMap(
  1. Map<String, dynamic> json
)

Implementation

factory CommonValidation.fromMap(Map<String, dynamic> json) => CommonValidation(
      cardNo: json["cardNo"] == null ? null : CardNoValidation.fromMap(json["cardNo"]),
      cardTypes: json["cardTypes"] == null ? null : List<CardTypeValidation>.from(json["cardTypes"].map((x) => CardTypeValidation.fromMap(x))),
    );