GoogleAppsCardV1MaterialIcon.fromJson constructor

GoogleAppsCardV1MaterialIcon.fromJson(
  1. Map json_
)

Implementation

GoogleAppsCardV1MaterialIcon.fromJson(core.Map json_)
    : this(
        fill: json_.containsKey('fill') ? json_['fill'] as core.bool : null,
        grade: json_.containsKey('grade') ? json_['grade'] as core.int : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        weight:
            json_.containsKey('weight') ? json_['weight'] as core.int : null,
      );