encode static method

Implementation

static String encode(FrontEndMigrationStatus value) {
	switch (value) {
		case FrontEndMigrationStatus.started:
			return 'STARTED';
		case FrontEndMigrationStatus.paused:
			return 'PAUSED';
		case FrontEndMigrationStatus.error:
			return 'ERROR';
		case FrontEndMigrationStatus.success:
			return 'SUCCESS';
		}
}