Variable.fromJson constructor

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

Implementation

factory Variable.fromJson(Map<String, dynamic> json) {
  return Variable(
    arn: json['arn'] as String?,
    createdTime: json['createdTime'] as String?,
    dataSource: (json['dataSource'] as String?)?.toDataSource(),
    dataType: (json['dataType'] as String?)?.toDataType(),
    defaultValue: json['defaultValue'] as String?,
    description: json['description'] as String?,
    lastUpdatedTime: json['lastUpdatedTime'] as String?,
    name: json['name'] as String?,
    variableType: json['variableType'] as String?,
  );
}