parseFutureUpdatesFromEnum static method

String parseFutureUpdatesFromEnum(
  1. FutureUpdates update
)

Implementation

static String parseFutureUpdatesFromEnum(FutureUpdates update) {
  switch (update) {
    case FutureUpdates.enable:
      return '1';
    case FutureUpdates.disable:
      return '2';
  }
}