CardHeader.fromJson constructor

CardHeader.fromJson(
  1. Map json_
)

Implementation

CardHeader.fromJson(core.Map json_)
    : this(
        imageStyle: json_.containsKey('imageStyle')
            ? json_['imageStyle'] as core.String
            : null,
        imageUrl: json_.containsKey('imageUrl')
            ? json_['imageUrl'] as core.String
            : null,
        subtitle: json_.containsKey('subtitle')
            ? json_['subtitle'] as core.String
            : null,
        title:
            json_.containsKey('title') ? json_['title'] as core.String : null,
      );