Container.fromJson constructor

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

Implementation

factory Container.fromJson(Map<String, dynamic> json) {
  return Container(
    imageUris: (json['imageUris'] as List?)
        ?.whereNotNull()
        .map((e) => e as String)
        .toList(),
    region: json['region'] as String?,
  );
}