ImageModuleData.fromJson constructor

ImageModuleData.fromJson(
  1. Map json_
)

Implementation

ImageModuleData.fromJson(core.Map json_)
    : this(
        id: json_.containsKey('id') ? json_['id'] as core.String : null,
        mainImage: json_.containsKey('mainImage')
            ? Image.fromJson(
                json_['mainImage'] as core.Map<core.String, core.dynamic>)
            : null,
      );