Input$StashBoxDraftSubmissionInput.fromJson constructor
Input$StashBoxDraftSubmissionInput.fromJson( - Map<String, dynamic> data
)
Implementation
factory Input$StashBoxDraftSubmissionInput.fromJson(
Map<String, dynamic> data,
) {
final result$data = <String, dynamic>{};
final l$id = data['id'];
result$data['id'] = (l$id as String);
if (data.containsKey('stash_box_index')) {
final l$stash_box_index = data['stash_box_index'];
result$data['stash_box_index'] = (l$stash_box_index as int?);
}
if (data.containsKey('stash_box_endpoint')) {
final l$stash_box_endpoint = data['stash_box_endpoint'];
result$data['stash_box_endpoint'] = (l$stash_box_endpoint as String?);
}
return Input$StashBoxDraftSubmissionInput._(result$data);
}