GatewayResponses.fromJson constructor
Implementation
factory GatewayResponses.fromJson(Map<String, dynamic> json) {
return GatewayResponses(
items: (json['item'] as List?)
?.whereNotNull()
.map((e) => GatewayResponse.fromJson(e as Map<String, dynamic>))
.toList(),
position: json['position'] as String?,
);
}