WaitActivity.fromJson constructor

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

Implementation

factory WaitActivity.fromJson(Map<String, dynamic> json) {
  return WaitActivity(
    nextActivity: json['NextActivity'] as String?,
    waitTime: json['WaitTime'] != null
        ? WaitTime.fromJson(json['WaitTime'] as Map<String, dynamic>)
        : null,
  );
}