SuggestedBullet.fromJson constructor

SuggestedBullet.fromJson(
  1. Map json_
)

Implementation

SuggestedBullet.fromJson(core.Map json_)
    : this(
        bullet: json_.containsKey('bullet')
            ? Bullet.fromJson(
                json_['bullet'] as core.Map<core.String, core.dynamic>)
            : null,
        bulletSuggestionState: json_.containsKey('bulletSuggestionState')
            ? BulletSuggestionState.fromJson(json_['bulletSuggestionState']
                as core.Map<core.String, core.dynamic>)
            : null,
      );