AwsApiCallAction.fromJson constructor

AwsApiCallAction.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory AwsApiCallAction.fromJson(Map<String, dynamic> json) {
  return AwsApiCallAction(
    api: json['api'] as String?,
    callerType: json['callerType'] as String?,
    domainDetails: json['domainDetails'] != null
        ? DomainDetails.fromJson(
            json['domainDetails'] as Map<String, dynamic>)
        : null,
    errorCode: json['errorCode'] as String?,
    remoteIpDetails: json['remoteIpDetails'] != null
        ? RemoteIpDetails.fromJson(
            json['remoteIpDetails'] as Map<String, dynamic>)
        : null,
    serviceName: json['serviceName'] as String?,
  );
}