DropdownOption.fromJson constructor

DropdownOption.fromJson(
  1. Map json_
)

Implementation

DropdownOption.fromJson(core.Map json_)
  : this(
      displayValue: json_['displayValue'] as core.String?,
      optionId: json_['optionId'] as core.String?,
      textStyle: json_.containsKey('textStyle')
          ? TextStyle.fromJson(
              json_['textStyle'] as core.Map<core.String, core.dynamic>,
            )
          : null,
    );