PositionedObjectPositioning.fromJson constructor

PositionedObjectPositioning.fromJson(
  1. Map json_
)

Implementation

PositionedObjectPositioning.fromJson(core.Map json_)
    : this(
        layout: json_.containsKey('layout')
            ? json_['layout'] as core.String
            : null,
        leftOffset: json_.containsKey('leftOffset')
            ? Dimension.fromJson(
                json_['leftOffset'] as core.Map<core.String, core.dynamic>)
            : null,
        topOffset: json_.containsKey('topOffset')
            ? Dimension.fromJson(
                json_['topOffset'] as core.Map<core.String, core.dynamic>)
            : null,
      );