QuickConnect.fromJson constructor

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

Implementation

factory QuickConnect.fromJson(Map<String, dynamic> json) {
  return QuickConnect(
    description: json['Description'] as String?,
    name: json['Name'] as String?,
    quickConnectARN: json['QuickConnectARN'] as String?,
    quickConnectConfig: json['QuickConnectConfig'] != null
        ? QuickConnectConfig.fromJson(
            json['QuickConnectConfig'] as Map<String, dynamic>)
        : null,
    quickConnectId: json['QuickConnectId'] as String?,
    tags: (json['Tags'] as Map<String, dynamic>?)
        ?.map((k, e) => MapEntry(k, e as String)),
  );
}