Button.fromJson constructor

Button.fromJson(
  1. Map _json
)

Implementation

Button.fromJson(core.Map _json)
    : this(
        buttonHexColor: _json.containsKey('buttonHexColor')
            ? _json['buttonHexColor'] as core.String
            : null,
        text: _json.containsKey('text')
            ? Text.fromJson(
                _json['text'] as core.Map<core.String, core.dynamic>)
            : null,
      );