UsesFeature.fromJson constructor

UsesFeature.fromJson(
  1. Map json_
)

Implementation

UsesFeature.fromJson(core.Map json_)
    : this(
        isRequired: json_.containsKey('isRequired')
            ? json_['isRequired'] as core.bool
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
      );