GoogleAppsCardV1BorderStyle.fromJson constructor

GoogleAppsCardV1BorderStyle.fromJson(
  1. Map json_
)

Implementation

GoogleAppsCardV1BorderStyle.fromJson(core.Map json_)
    : this(
        cornerRadius: json_.containsKey('cornerRadius')
            ? json_['cornerRadius'] as core.int
            : null,
        strokeColor: json_.containsKey('strokeColor')
            ? Color.fromJson(
                json_['strokeColor'] as core.Map<core.String, core.dynamic>)
            : null,
        type: json_.containsKey('type') ? json_['type'] as core.String : null,
      );