Input.fromJson constructor

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

Implementation

factory Input.fromJson(Map<String, dynamic> json) {
  return Input(
    inputConfiguration: json['inputConfiguration'] != null
        ? InputConfiguration.fromJson(
            json['inputConfiguration'] as Map<String, dynamic>)
        : null,
    inputDefinition: json['inputDefinition'] != null
        ? InputDefinition.fromJson(
            json['inputDefinition'] as Map<String, dynamic>)
        : null,
  );
}