ScSpecTypeOption.fromStruct constructor

ScSpecTypeOption.fromStruct(
  1. Map<String, dynamic> json
)

Implementation

factory ScSpecTypeOption.fromStruct(Map<String, dynamic> json) {
  return ScSpecTypeOption(
    ScSpecTypeDef.fromStruct(
      json.valueEnsureAsMap<String, dynamic>('valueType'),
    ),
  );
}