encode method

String? encode()

Implementation

String? encode() {
  switch (this) {
    case JustifyContent.START:
      return 'START';
    case JustifyContent.CENTER:
      return 'CENTER';
    case JustifyContent.END:
      return 'END';
    case JustifyContent.SPACE_BETWEEN:
      return 'SPACE_BETWEEN';
    case JustifyContent.UNKNOWN:
      return null;
  }
}