DuplicateSheetRequest.fromJson constructor

DuplicateSheetRequest.fromJson(
  1. Map json_
)

Implementation

DuplicateSheetRequest.fromJson(core.Map json_)
    : this(
        insertSheetIndex: json_.containsKey('insertSheetIndex')
            ? json_['insertSheetIndex'] as core.int
            : null,
        newSheetId: json_.containsKey('newSheetId')
            ? json_['newSheetId'] as core.int
            : null,
        newSheetName: json_.containsKey('newSheetName')
            ? json_['newSheetName'] as core.String
            : null,
        sourceSheetId: json_.containsKey('sourceSheetId')
            ? json_['sourceSheetId'] as core.int
            : null,
      );