ComponentTransform.fromJson constructor

ComponentTransform.fromJson(
  1. Map _json
)

Implementation

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