WrapperSessionScanViewConfigOptionRotateButton.fromJson constructor

WrapperSessionScanViewConfigOptionRotateButton.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory WrapperSessionScanViewConfigOptionRotateButton.fromJson(
        Map<String, dynamic> json) =>
    WrapperSessionScanViewConfigOptionRotateButton(
      alignment: wrapperSessionScanViewConfigOptionElementAlignmentValues
          .map[json["alignment"]],
      offset: json["offset"] == null
          ? null
          : WrapperSessionScanViewConfigOptionElementOffset.fromJson(
              json["offset"]),
    );