$Function.fromJson constructor

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

Implementation

factory $Function.fromJson(Map<String, dynamic> json) {
  return $Function(
    id: json['Id'] as String,
    functionArn: json['FunctionArn'] as String?,
    functionConfiguration: json['FunctionConfiguration'] != null
        ? FunctionConfiguration.fromJson(
            json['FunctionConfiguration'] as Map<String, dynamic>)
        : null,
  );
}