Input$AccountInput.fromJson constructor

Input$AccountInput.fromJson(
  1. Map<String, dynamic> data
)

Implementation

factory Input$AccountInput.fromJson(Map<String, dynamic> data) {
  final result$data = <String, dynamic>{};
  final l$expiresAt = data['expiresAt'];
  result$data['expiresAt'] = dateTimeFromJson(l$expiresAt);
  final l$user = data['user'];
  result$data['user'] = (l$user as String);
  final l$targets = data['targets'];
  result$data['targets'] =
      Input$TargetsInput.fromJson((l$targets as Map<String, dynamic>));
  return Input$AccountInput._(result$data);
}