CreateDashboardResponse.fromJson constructor

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

Implementation

factory CreateDashboardResponse.fromJson(Map<String, dynamic> json) {
  return CreateDashboardResponse(
    arn: json['Arn'] as String?,
    creationStatus: (json['CreationStatus'] as String?)?.toResourceStatus(),
    dashboardId: json['DashboardId'] as String?,
    requestId: json['RequestId'] as String?,
    versionArn: json['VersionArn'] as String?,
  );
}