DuplicateObjectRequest.fromJson constructor

DuplicateObjectRequest.fromJson(
  1. Map json_
)

Implementation

DuplicateObjectRequest.fromJson(core.Map json_)
    : this(
        objectId: json_.containsKey('objectId')
            ? json_['objectId'] as core.String
            : null,
        objectIds: json_.containsKey('objectIds')
            ? (json_['objectIds'] as core.Map<core.String, core.dynamic>).map(
                (key, value) => core.MapEntry(
                  key,
                  value as core.String,
                ),
              )
            : null,
      );