GoogleAppsCardV1Column.fromJson constructor

GoogleAppsCardV1Column.fromJson(
  1. Map json_
)

Implementation

GoogleAppsCardV1Column.fromJson(core.Map json_)
    : this(
        horizontalAlignment: json_.containsKey('horizontalAlignment')
            ? json_['horizontalAlignment'] as core.String
            : null,
        horizontalSizeStyle: json_.containsKey('horizontalSizeStyle')
            ? json_['horizontalSizeStyle'] as core.String
            : null,
        verticalAlignment: json_.containsKey('verticalAlignment')
            ? json_['verticalAlignment'] as core.String
            : null,
        widgets: json_.containsKey('widgets')
            ? (json_['widgets'] as core.List)
                .map((value) => GoogleAppsCardV1Widgets.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );