Input$CompanySupplierInput.fromJson constructor

Input$CompanySupplierInput.fromJson(
  1. Map<String, dynamic> data
)

Implementation

factory Input$CompanySupplierInput.fromJson(Map<String, dynamic> data) {
  final result$data = <String, dynamic>{};
  if (data.containsKey('kind')) {
    final l$kind = data['kind'];
    result$data['kind'] = l$kind == null
        ? null
        : fromJson$Enum$SupplierTypeEnum((l$kind as String));
  }
  return Input$CompanySupplierInput._(result$data);
}