CreateConfigurationResponse.fromJson constructor

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

Implementation

factory CreateConfigurationResponse.fromJson(Map<String, dynamic> json) {
  return CreateConfigurationResponse(
    arn: json['arn'] as String?,
    authenticationStrategy: (json['authenticationStrategy'] as String?)
        ?.toAuthenticationStrategy(),
    created: timeStampFromJson(json['created']),
    id: json['id'] as String?,
    latestRevision: json['latestRevision'] != null
        ? ConfigurationRevision.fromJson(
            json['latestRevision'] as Map<String, dynamic>)
        : null,
    name: json['name'] as String?,
  );
}