CardWithId.fromJson constructor

CardWithId.fromJson(
  1. Map json_
)

Implementation

CardWithId.fromJson(core.Map json_)
    : this(
        card: json_.containsKey('card')
            ? GoogleAppsCardV1Card.fromJson(
                json_['card'] as core.Map<core.String, core.dynamic>)
            : null,
        cardId: json_.containsKey('cardId')
            ? json_['cardId'] as core.String
            : null,
      );