CreateLineRequest.fromJson constructor

CreateLineRequest.fromJson(
  1. Map json_
)

Implementation

CreateLineRequest.fromJson(core.Map json_)
    : this(
        category: json_.containsKey('category')
            ? json_['category'] as core.String
            : null,
        elementProperties: json_.containsKey('elementProperties')
            ? PageElementProperties.fromJson(json_['elementProperties']
                as core.Map<core.String, core.dynamic>)
            : null,
        lineCategory: json_.containsKey('lineCategory')
            ? json_['lineCategory'] as core.String
            : null,
        objectId: json_.containsKey('objectId')
            ? json_['objectId'] as core.String
            : null,
      );