GoogleAppsCardV1ImageCropStyle.fromJson constructor

GoogleAppsCardV1ImageCropStyle.fromJson(
  1. Map json_
)

Implementation

GoogleAppsCardV1ImageCropStyle.fromJson(core.Map json_)
    : this(
        aspectRatio: json_.containsKey('aspectRatio')
            ? (json_['aspectRatio'] as core.num).toDouble()
            : null,
        type: json_.containsKey('type') ? json_['type'] as core.String : null,
      );