PageElementProperties.fromJson constructor

PageElementProperties.fromJson(
  1. Map json_
)

Implementation

PageElementProperties.fromJson(core.Map json_)
    : this(
        pageObjectId: json_.containsKey('pageObjectId')
            ? json_['pageObjectId'] as core.String
            : null,
        size: json_.containsKey('size')
            ? Size.fromJson(
                json_['size'] as core.Map<core.String, core.dynamic>)
            : null,
        transform: json_.containsKey('transform')
            ? AffineTransform.fromJson(
                json_['transform'] as core.Map<core.String, core.dynamic>)
            : null,
      );