WriteControl.fromJson constructor

WriteControl.fromJson(
  1. Map json_
)

Implementation

WriteControl.fromJson(core.Map json_)
    : this(
        requiredRevisionId: json_.containsKey('requiredRevisionId')
            ? json_['requiredRevisionId'] as core.String
            : null,
        targetRevisionId: json_.containsKey('targetRevisionId')
            ? json_['targetRevisionId'] as core.String
            : null,
      );