GetMappingResponse.fromJson constructor

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

Implementation

factory GetMappingResponse.fromJson(Map<String, dynamic> json) {
  return GetMappingResponse(
    mapping: (json['Mapping'] as List)
        .whereNotNull()
        .map((e) => MappingEntry.fromJson(e as Map<String, dynamic>))
        .toList(),
  );
}