NameValue.fromJson constructor

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

Implementation

factory NameValue.fromJson(Map<String, dynamic> json) {
  return NameValue(
    name: json['name'] as String,
    value: json['value'] as String,
  );
}