factory PipelinePauseStateSettings.fromJson(Map<String, dynamic> json) { return PipelinePauseStateSettings( pipelineId: (json['pipelineId'] as String).toPipelineId(), ); }