ComponentSource.fromJson constructor

ComponentSource.fromJson(
  1. Map _json
)

Implementation

ComponentSource.fromJson(core.Map _json)
    : this(
        name: _json.containsKey('name') ? _json['name'] as core.String : null,
        originalTransformOrCollection:
            _json.containsKey('originalTransformOrCollection')
                ? _json['originalTransformOrCollection'] as core.String
                : null,
        userName: _json.containsKey('userName')
            ? _json['userName'] as core.String
            : null,
      );