Response.fromJson constructor

Response.fromJson(
  1. Map json_
)

Implementation

Response.fromJson(core.Map json_)
    : this(
        createFooter: json_.containsKey('createFooter')
            ? CreateFooterResponse.fromJson(
                json_['createFooter'] as core.Map<core.String, core.dynamic>)
            : null,
        createFootnote: json_.containsKey('createFootnote')
            ? CreateFootnoteResponse.fromJson(json_['createFootnote']
                as core.Map<core.String, core.dynamic>)
            : null,
        createHeader: json_.containsKey('createHeader')
            ? CreateHeaderResponse.fromJson(
                json_['createHeader'] as core.Map<core.String, core.dynamic>)
            : null,
        createNamedRange: json_.containsKey('createNamedRange')
            ? CreateNamedRangeResponse.fromJson(json_['createNamedRange']
                as core.Map<core.String, core.dynamic>)
            : null,
        insertInlineImage: json_.containsKey('insertInlineImage')
            ? InsertInlineImageResponse.fromJson(json_['insertInlineImage']
                as core.Map<core.String, core.dynamic>)
            : null,
        insertInlineSheetsChart: json_.containsKey('insertInlineSheetsChart')
            ? InsertInlineSheetsChartResponse.fromJson(
                json_['insertInlineSheetsChart']
                    as core.Map<core.String, core.dynamic>)
            : null,
        replaceAllText: json_.containsKey('replaceAllText')
            ? ReplaceAllTextResponse.fromJson(json_['replaceAllText']
                as core.Map<core.String, core.dynamic>)
            : null,
      );