# Function getFlagCountry

- getFlagCountry(mmsi: string): null | FlagCountry

  Return the flag country information for the MID from the supplied MMSI.

  #### Parameters

  - mmsi: string

    MMSI.

  #### Returns null | FlagCountry

  Flag country information with ISO codes and name, or null if not found.

  #### Example

      app.getFlagCountry('201456789')

      returns: {
        alpha2: 'AL',
        alpha3: 'ALB',
        name: 'Albania'
      }

  - Defined in mmsi/mmsi.ts:176