Province.fromJson constructor

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

Implementation

factory Province.fromJson(Map<String, dynamic> json) => Province(
      id: json['id'] as int?,
      text: json['text'] as String?,
      textNp: json['textNP'] as String?,
    );