OptionalColor.fromJson constructor

OptionalColor.fromJson(
  1. Map json_
)

Implementation

OptionalColor.fromJson(core.Map json_)
    : this(
        opaqueColor: json_.containsKey('opaqueColor')
            ? OpaqueColor.fromJson(
                json_['opaqueColor'] as core.Map<core.String, core.dynamic>)
            : null,
      );