Button.fromJson constructor

Button.fromJson(
  1. Map json_
)

Implementation

Button.fromJson(core.Map json_)
    : this(
        imageButton: json_.containsKey('imageButton')
            ? ImageButton.fromJson(
                json_['imageButton'] as core.Map<core.String, core.dynamic>)
            : null,
        textButton: json_.containsKey('textButton')
            ? TextButton.fromJson(
                json_['textButton'] as core.Map<core.String, core.dynamic>)
            : null,
      );