ProgressStartEventBody.fromMap constructor

ProgressStartEventBody.fromMap(
  1. Map<String, Object?> obj
)

Implementation

ProgressStartEventBody.fromMap(Map<String, Object?> obj)
    : cancellable = obj['cancellable'] as bool?,
      message = obj['message'] as String?,
      percentage = obj['percentage'] as num?,
      progressId = obj['progressId'] as String,
      requestId = obj['requestId'] as int?,
      title = obj['title'] as String;