FailedResource.fromJson constructor Null safety

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

Implementation

factory FailedResource.fromJson(Map<String, dynamic> json) {
  return FailedResource(
    errorCode: json['ErrorCode'] as String?,
    errorMessage: json['ErrorMessage'] as String?,
    resourceArn: json['ResourceArn'] as String?,
  );
}